package com.study.other;

/**
 * @Author tanglingyu
 * @Date: 2021/05/28/ 13:32
 * @Description
 */
public class Tang1 {

  /**
   * 初始值测试
   */

  private Integer integer;

  private int a;

  private Boolean flag;

  private boolean flag1;

  public static void main(String[] args) {
    Tang1 tang1 = new Tang1();
    System.out.println(tang1.integer);
    System.out.println(tang1.a);
    System.out.println(tang1.flag);
    System.out.println(tang1.flag1);
    a();
  }

  private static void a() {
    try {
      System.out.println("try");
      System.exit(0);
      return;
    } catch (Exception e) {
      System.out.println("catch");
      return;
    } finally {
      System.out.println("finally");
      return;
    }
  }

}
